﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BulldogCMS.Core;
using BulldogCMS.Core.Storage.DataTypes;
using System.Diagnostics;

namespace BulldogCMS.Web.Controllers
{
    public class AboutController : BulldogCMS.Core.MVC.BaseController
    {
        public ActionResult Index()
        {
            var node = Context.Application.Tree.GetNode("/Content/CompactServer/Pills");
            var textField = node.GetValue<TextField>("PageTitle", 1, "cs-CZ");

            Trace.TraceInformation("Index start");
            Trace.TraceInformation("Index end");
            return DynamicView();
        }

    }
}
